<?php

$limit = 10;
$position = 0;
while (1 < $limit && null !== $position) {
    $limit--; /* dec limit */
    $position++;
}
